3.1620 \(\int \frac{(b+2 c x) \sqrt{d+e x}}{\left (a+b x+c x^2\right )^2} \, dx\)

Optimal. Leaf size=223 \[ -\frac{\sqrt{2} \sqrt{c} e \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x}}{\sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}\right )}{\sqrt{b^2-4 a c} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}+\frac{\sqrt{2} \sqrt{c} e \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x}}{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{\sqrt{b^2-4 a c} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}-\frac{\sqrt{d+e x}}{a+b x+c x^2} \]

[Out]

-(Sqrt[d + e*x]/(a + b*x + c*x^2)) - (Sqrt[2]*Sqrt[c]*e*ArcTanh[(Sqrt[2]*Sqrt[c]
*Sqrt[d + e*x])/Sqrt[2*c*d - (b - Sqrt[b^2 - 4*a*c])*e]])/(Sqrt[b^2 - 4*a*c]*Sqr
t[2*c*d - (b - Sqrt[b^2 - 4*a*c])*e]) + (Sqrt[2]*Sqrt[c]*e*ArcTanh[(Sqrt[2]*Sqrt
[c]*Sqrt[d + e*x])/Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e]])/(Sqrt[b^2 - 4*a*c]*
Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e])

_______________________________________________________________________________________

Rubi [A]  time = 0.854139, antiderivative size = 223, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143 \[ -\frac{\sqrt{2} \sqrt{c} e \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x}}{\sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}\right )}{\sqrt{b^2-4 a c} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}+\frac{\sqrt{2} \sqrt{c} e \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x}}{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{\sqrt{b^2-4 a c} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}-\frac{\sqrt{d+e x}}{a+b x+c x^2} \]

Antiderivative was successfully verified.

[In]  Int[((b + 2*c*x)*Sqrt[d + e*x])/(a + b*x + c*x^2)^2,x]

[Out]

-(Sqrt[d + e*x]/(a + b*x + c*x^2)) - (Sqrt[2]*Sqrt[c]*e*ArcTanh[(Sqrt[2]*Sqrt[c]
*Sqrt[d + e*x])/Sqrt[2*c*d - (b - Sqrt[b^2 - 4*a*c])*e]])/(Sqrt[b^2 - 4*a*c]*Sqr
t[2*c*d - (b - Sqrt[b^2 - 4*a*c])*e]) + (Sqrt[2]*Sqrt[c]*e*ArcTanh[(Sqrt[2]*Sqrt
[c]*Sqrt[d + e*x])/Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e]])/(Sqrt[b^2 - 4*a*c]*
Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e])

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 101.129, size = 207, normalized size = 0.93 \[ - \frac{\sqrt{2} \sqrt{c} e \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d + e x}}{\sqrt{b e - 2 c d + e \sqrt{- 4 a c + b^{2}}}} \right )}}{\sqrt{- 4 a c + b^{2}} \sqrt{b e - 2 c d + e \sqrt{- 4 a c + b^{2}}}} + \frac{\sqrt{2} \sqrt{c} e \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d + e x}}{\sqrt{b e - 2 c d - e \sqrt{- 4 a c + b^{2}}}} \right )}}{\sqrt{- 4 a c + b^{2}} \sqrt{b e - 2 c d - e \sqrt{- 4 a c + b^{2}}}} - \frac{\sqrt{d + e x}}{a + b x + c x^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((2*c*x+b)*(e*x+d)**(1/2)/(c*x**2+b*x+a)**2,x)

[Out]

-sqrt(2)*sqrt(c)*e*atan(sqrt(2)*sqrt(c)*sqrt(d + e*x)/sqrt(b*e - 2*c*d + e*sqrt(
-4*a*c + b**2)))/(sqrt(-4*a*c + b**2)*sqrt(b*e - 2*c*d + e*sqrt(-4*a*c + b**2)))
 + sqrt(2)*sqrt(c)*e*atan(sqrt(2)*sqrt(c)*sqrt(d + e*x)/sqrt(b*e - 2*c*d - e*sqr
t(-4*a*c + b**2)))/(sqrt(-4*a*c + b**2)*sqrt(b*e - 2*c*d - e*sqrt(-4*a*c + b**2)
)) - sqrt(d + e*x)/(a + b*x + c*x**2)

_______________________________________________________________________________________

Mathematica [A]  time = 0.429531, size = 220, normalized size = 0.99 \[ -\frac{\sqrt{2} \sqrt{c} e \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x}}{\sqrt{e \sqrt{b^2-4 a c}-b e+2 c d}}\right )}{\sqrt{b^2-4 a c} \sqrt{e \left (\sqrt{b^2-4 a c}-b\right )+2 c d}}+\frac{\sqrt{2} \sqrt{c} e \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x}}{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{\sqrt{b^2-4 a c} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}-\frac{\sqrt{d+e x}}{a+x (b+c x)} \]

Antiderivative was successfully verified.

[In]  Integrate[((b + 2*c*x)*Sqrt[d + e*x])/(a + b*x + c*x^2)^2,x]

[Out]

-(Sqrt[d + e*x]/(a + x*(b + c*x))) - (Sqrt[2]*Sqrt[c]*e*ArcTanh[(Sqrt[2]*Sqrt[c]
*Sqrt[d + e*x])/Sqrt[2*c*d - b*e + Sqrt[b^2 - 4*a*c]*e]])/(Sqrt[b^2 - 4*a*c]*Sqr
t[2*c*d + (-b + Sqrt[b^2 - 4*a*c])*e]) + (Sqrt[2]*Sqrt[c]*e*ArcTanh[(Sqrt[2]*Sqr
t[c]*Sqrt[d + e*x])/Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e]])/(Sqrt[b^2 - 4*a*c]
*Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e])

_______________________________________________________________________________________

Maple [A]  time = 0.042, size = 232, normalized size = 1. \[ -{\frac{{e}^{2}}{c{e}^{2}{x}^{2}+b{e}^{2}x+a{e}^{2}}\sqrt{ex+d}}-{c{e}^{2}\sqrt{2}{\it Artanh} \left ({c\sqrt{2}\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( -be+2\,cd+\sqrt{-{e}^{2} \left ( 4\,ac-{b}^{2} \right ) } \right ) c}}}} \right ){\frac{1}{\sqrt{-{e}^{2} \left ( 4\,ac-{b}^{2} \right ) }}}{\frac{1}{\sqrt{ \left ( -be+2\,cd+\sqrt{-{e}^{2} \left ( 4\,ac-{b}^{2} \right ) } \right ) c}}}}-{c{e}^{2}\sqrt{2}\arctan \left ({c\sqrt{2}\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( be-2\,cd+\sqrt{-{e}^{2} \left ( 4\,ac-{b}^{2} \right ) } \right ) c}}}} \right ){\frac{1}{\sqrt{-{e}^{2} \left ( 4\,ac-{b}^{2} \right ) }}}{\frac{1}{\sqrt{ \left ( be-2\,cd+\sqrt{-{e}^{2} \left ( 4\,ac-{b}^{2} \right ) } \right ) c}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((2*c*x+b)*(e*x+d)^(1/2)/(c*x^2+b*x+a)^2,x)

[Out]

-e^2*(e*x+d)^(1/2)/(c*e^2*x^2+b*e^2*x+a*e^2)-e^2*c/(-e^2*(4*a*c-b^2))^(1/2)*2^(1
/2)/((-b*e+2*c*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1/2)*arctanh(c*(e*x+d)^(1/2)*2^(1
/2)/((-b*e+2*c*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1/2))-e^2*c/(-e^2*(4*a*c-b^2))^(1
/2)*2^(1/2)/((b*e-2*c*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1/2)*arctan(c*(e*x+d)^(1/2
)*2^(1/2)/((b*e-2*c*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1/2))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (2 \, c x + b\right )} \sqrt{e x + d}}{{\left (c x^{2} + b x + a\right )}^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((2*c*x + b)*sqrt(e*x + d)/(c*x^2 + b*x + a)^2,x, algorithm="maxima")

[Out]

integrate((2*c*x + b)*sqrt(e*x + d)/(c*x^2 + b*x + a)^2, x)

_______________________________________________________________________________________

Fricas [A]  time = 0.322885, size = 3713, normalized size = 16.65 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((2*c*x + b)*sqrt(e*x + d)/(c*x^2 + b*x + a)^2,x, algorithm="fricas")

[Out]

-1/2*(sqrt(1/2)*(c*x^2 + b*x + a)*sqrt((2*c*d*e^2 - b*e^3 + sqrt(e^6/((b^2*c^2 -
 4*a*c^3)*d^4 - 2*(b^3*c - 4*a*b*c^2)*d^3*e + (b^4 - 2*a*b^2*c - 8*a^2*c^2)*d^2*
e^2 - 2*(a*b^3 - 4*a^2*b*c)*d*e^3 + (a^2*b^2 - 4*a^3*c)*e^4))*((b^2*c - 4*a*c^2)
*d^2 - (b^3 - 4*a*b*c)*d*e + (a*b^2 - 4*a^2*c)*e^2))/((b^2*c - 4*a*c^2)*d^2 - (b
^3 - 4*a*b*c)*d*e + (a*b^2 - 4*a^2*c)*e^2))*log(2*sqrt(e*x + d)*c*e^4 + sqrt(1/2
)*((b^2 - 4*a*c)*e^4 - sqrt(e^6/((b^2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*e^4))*(2*(b^2*c^2 - 4*a*c^3)*d^3 - 3*(b^3*c - 4*a*b*c^2)*d^2*e + (b^4 - 2*a*
b^2*c - 8*a^2*c^2)*d*e^2 - (a*b^3 - 4*a^2*b*c)*e^3))*sqrt((2*c*d*e^2 - b*e^3 - s
qrt(e^6/((b^2*c^2 - 4*a*c^3)*d^4 - 2*(b^3*c - 4*a*b*c^2)*d^3*e + (b^4 - 2*a*b^2*
c - 8*a^2*c^2)*d^2*e^2 - 2*(a*b^3 - 4*a^2*b*c)*d*e^3 + (a^2*b^2 - 4*a^3*c)*e^4))
*((b^2*c - 4*a*c^2)*d^2 - (b^3 - 4*a*b*c)*d*e + (a*b^2 - 4*a^2*c)*e^2))/((b^2*c
- 4*a*c^2)*d^2 - (b^3 - 4*a*b*c)*d*e + (a*b^2 - 4*a^2*c)*e^2))) + 2*sqrt(e*x + d
))/(c*x^2 + b*x + a)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((2*c*x+b)*(e*x+d)**(1/2)/(c*x**2+b*x+a)**2,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((2*c*x + b)*sqrt(e*x + d)/(c*x^2 + b*x + a)^2,x, algorithm="giac")

[Out]

Timed out